package com.automannn.atm_back.modules.codeGenerator.core.service;

import java.io.File;
import java.net.URL;

/**
 * @author chenkh
 * @time 2020/8/6 8:37
 */
public interface CompressService {
    /**
     * 获取相对路径
     */
    String getTmpDir();

    /**
     * 压缩
     */
    File compress();

    /**
     * 同步至远程,如对象存储，云盘 等等
     * @param url
     */
    void syncRemote(URL url);
}
